package com.atguigu.mapper;

import com.atguigu.pojo.Headline;
import com.atguigu.pojo.vo.PortalVo;
import com.atguigu.utils.Result;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
* @author admin
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2024-12-11 19:18:38
* @Entity com.atguigu.pojo.Headline
*/

public interface HeadlineMapper extends BaseMapper<Headline> {

    IPage<Map> selectPageMap(IPage page,
                                @Param("portalVo") PortalVo portalVo);


    Map selectDetailMap(Integer hid);

}




